package cn.template.serve_project.constant;

/**
 * JWT常量
 */
public class JwtConstant {


    /**
     * 请求头 token标识
     */
    public static final String TOKEN = "Authorization";


    /**
     * 用户标识
     */
    public static final String USER = "user_id";
    /**
     * 角色标识
     */
    public static final String ROLE = "role";
    /**
     * 权限标识
     */
    public static final String PERMISSIONS = "permissions";



    /**
     * 创建jwt的秘钥key
     */
    public static final String  SECRET_KEY = "rx_admin";


}
